﻿using System;
using System.Collections.Generic;
using System.Text;
using IService.DataDLL;
using System.Data.OleDb;

namespace IService.Model
{
	[Table("User", "ID")]
	public class User : DTVBaseObject
	{
		[Property("UserName", OleDbType.VarChar, false, false)]
		public string UserName { get; set; }

		[Property("Password", OleDbType.VarChar, false, false)]
		public string Password { get; set; }

		[Property("Email", OleDbType.VarChar, false, false)]
		public string Email { get; set; }

		[Property("RealUserName", OleDbType.VarChar, false, false)]
		public string RealUserName { get; set; }

		[Property("Phone", OleDbType.VarChar, false, false)]
		public string Phone { get; set; }

		[Property("CompanyName", OleDbType.VarChar, false, false)]
		public string CompanyName { get; set; }

		[Property("CompanyAddress", OleDbType.VarChar, false, false)]
		public string CompanyAddress { get; set; }

		[Property("CompanyPhone", OleDbType.VarChar, false, false)]
		public string CompanyPhone { get; set; }

		[Property("RegistDateTime", OleDbType.DBDate, false, false)]
        public DateTime RegistDateTime { get; set; }

        [Property("UserRole", OleDbType.VarChar, false, false)]
        public string UserRole { get; set; }

        [Property("EmployeesTotal", OleDbType.Integer, false, false)]
        public Int32 EmployeesTotal { get; set; }

        [Property("FoundedDate", OleDbType.Date, false, false)]
        public DateTime FoundedDate { get; set; }

        [Property("IndustryClassification", OleDbType.VarChar, false, false)]
        public string IndustryClassification { get; set; }

        [Property("Supply", OleDbType.VarChar, false, false)]
        public string Supply { get; set; }

        [Property("Purchase", OleDbType.VarChar, false, false)]
        public string Purchase { get; set; }

        [Property("CompanyProfile", OleDbType.VarChar, false, false)]
        public string CompanyProfile { get; set; }

        [Property("UserMobile", OleDbType.VarChar, false, false)]
        public string UserMobile { get; set; }

        [Property("UserFax", OleDbType.VarChar, false, false)]
        public string UserFax { get; set; }

        [Property("UserAddress", OleDbType.VarChar, false, false)]
        public string UserAddress { get; set; }

        [Property("UserLoginDate", OleDbType.Date, false, false)]
        public DateTime UserLoginDate { get; set; }

	}
}
